ShortPixel\Notices\NoticeController A

Total Complexity 66
Dependencies 2
Dependents 10
Total lines 368
Lines of code 245
Logical lines of code 128
Comment lines 34
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
ajax_action()
A
47 8 36
loadNotices()
S
54 7 22
makePersistent()
S
53 6 24
getNoticesForDisplay()
S
55 6 21
update()
S
56 6 19
addNotice()
S
59 5 15
admin_notices()
S
59 4 15
removeNoticeByID()
S
60 4 13
getNoticeByID()
S
67 3 8
getInstance()
S
69 2 7
printNoticeStyle()
S
66 2 9
loadConfig()
S
68 2 8
loadIcons()
S
75 2 4
getNotices()
S
81 1 3
countNotices()
S
76 1 4
addNormal()
S
72 1 5
addError()
S
72 1 5
addWarning()
S
72 1 5
addSuccess()
S
72 1 5
addDetail()
S
73 1 5
resetNotices()
S
71 1 5
__construct()
S
67 1 7